set linesize 140
set rmsg on
set scheme s1mono
/******************************************************************************
	Project		:	Army Service in the All-Volunteer Era
	Author(s)	:	Kyle Greenberg	(kyle.greenberg@westpoint.edu)
					Matthew Gudgeon (matthew.gudgeon@westpoint.edu)
					Adam Isen 		(Adam.Isen@treasury.gov)
					Corbin Miller 	(Corbin.Miller@treasury.gov)
					Rich Patterson 	(rich_patterson@byu.edu)
	File Name	:	_master.do
	Description	:	This program calls all the other programs for the project
*******************************************************************************/

*before running, check that the input data is in a subfolder called raw

*change directory to where programs and subfolders are stored
cd "~/army/QJE_rep/"

*---- set up file structure ----*
global raw		"raw/"
global data		"data/"
global output	"output/"

*_prep-data.do needs to be run first, but otherwise other programs can be run in any order (listed here alphabetically)
do _prep-data.do
do balance.do
do cumulative.do
do distribution.do
do figure_a_19.do
do first-stage.do
do het.do
do iv.do
do reduced-form.do
do robust.do
do sumstats.do
do table_a_10.do
do table_a_21_a_22.do
do table5.do
